<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2018/4/3
  Time: 16:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加用户</title>
</head>
<body>

<jsp:include page="isLogin.jsp"/>

<%
    if(session.getAttribute("isLogin")==null){
       response.sendRedirect("login.jsp");
    }
%>

<form action="addUserHandler.jsp" method="post">
    用户名：<input type="text" name="username" /><br/>
    密码：<input type="text" name="password" /><br/>

    <input type="submit" value="保存"/>

</form>
<%--jsp:指令--%>
<%--<%@ include file="footer.jsp"%>--%>

<%--jsp:动作--%>
<jsp:include page="footer.jsp">
    <jsp:param name="year" value="2018"/>
</jsp:include>
</body>
</html>
